<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>

<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>

<html>
<head>
	
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<title><s:text name="titulo.sitio" /></title>

	<!-- Estilos y funciones JS del sistema -->
	<link href="<s:url value='/css/estilos.css' encode='false' includeParams='none'/>" rel="stylesheet" type="text/css" media="all" />	
	<script type="text/javascript" src="<s:url value='/script/funciones.js' encode='false' includeParams='none'/>"></script>
	
	<!-- Estilos DisplayTag -->
	<link href="<s:url value='/css/displaytag.css' encode='false' includeParams='none'/>" rel="stylesheet" type="text/css" media="all" />
	
</head>

<body>
<div style="width:100%;" align="center">
	<div id="contenido" align="center">
		<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="wrapper" >
			<tr>
		  		<th width="100%" scope="row" >
		  			<table width="100%" border="0" cellpadding="0" cellspacing="0" class="header">
						<tr>
		  					<th scope="row"></th>
		  				</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="mainContent">
						<tr>
							<td align="left" valign="top" scope="row">
								<tiles:insertAttribute name="menuPrincipal" />
							</td>
						</tr>
		  				<tr>
		    				<td width="100%" align="left" valign="top">
		    					<table width="100%" cellspacing="10px">
									<tr>
										<td>
											<table width="100%" border="0" cellspacing="0px" cellpadding="0px">
												<tr>
													<td id="areaMensajes">
														<tiles:insertAttribute name="mensajes" />
													</td>
												</tr>																					
												<tr>
													<td id="areaFormulario">
														<tiles:insertAttribute name="contenido" />
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
		   					</td>
		   				</tr>
		   			</table>
		   		</th>
		   	</tr>
		</table>
	</div>
</div>
</body>
</html>